home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / LONGSECS.HDR < prev    next >
Text File  |  1994-04-25  |  1KB  |  38 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _LongSeconds() --> nSeconds
  8.  
  9. PARAMETERS:
  10.  
  11. None
  12.  
  13. SHORT:
  14.  
  15. Return seconds since 01/01/80, rather than from midnight of current day.
  16.  
  17. DESCRIPTION:
  18.  
  19. _LongSeconds() is similar to Clipper's seconds() function, but returns
  20. the number of seconds since 0000 hours on 01/01/80.  It therefore does
  21. not reset to ZERO at midnight, but continues to accumulate time constantly.
  22.  
  23. NOTE:
  24.  
  25. The time necessary to calculate the _LongSeconds() return value is obviously
  26. longer than Clipper's simple seconds() function.  The function requires, on
  27. my 486/33, 1320 repetitions to lose one second, however, since the
  28. calculation is done from scratch each time, the actual time difference is
  29. only several thousandths of a second (1/1320th of a second in my case).  The
  30. value should never, in any case, become significant (no more than seconds()
  31. itself).
  32.  
  33. EXAMPLE:
  34.  
  35. ? _LongSeconds()  // 441989015.23
  36.  
  37. ******************************************************************************/
  38.